/* pages/upload/index.less */
.container {
  padding: 20rpx;
  background-color: #f7f7f7;
  min-height: 100vh;
}

.form-container {
  background-color: #fff;
  border-radius: 16rpx;
  padding: 30rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
}

.title {
  font-size: 36rpx;
  font-weight: bold;
  margin-bottom: 40rpx;
  display: block;
  text-align: center;
  color: #333;
}

.form-item {
  margin-bottom: 30rpx;
}

.label {
  display: block;
  margin-bottom: 16rpx;
  font-size: 28rpx;
  color: #666;
}

.input, .textarea {
  width: 100%;
  height: 70rpx;
  border: 1rpx solid #e5e5e5;
  border-radius: 8rpx;
  padding: 20rpx;
  box-sizing: border-box;
  font-size: 28rpx;
}

.textarea {
  height: 200rpx;
}

.upload-btn {
  margin-top: 10rpx;
  background-color: #f0f0f0;
  color: #333;
}

wx-button[type=primary] {
  background-color: #ad196f;
  color: #fff;
}

.preview-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20rpx;
}

.image-wrapper {
  position: relative;
  margin-right: 20rpx;
  margin-bottom: 20rpx;
}

.preview-image {
  width: 160rpx;
  height: 160rpx;
  border-radius: 8rpx;
}

.delete-icon {
  position: absolute;
  top: -10rpx;
  right: -10rpx;
  color: #ff4d4f;
  background: white;
  border-radius: 50%;
}

.submit-btn {
  margin-top: 40rpx;
  width: 100%;
  font-size: 32rpx;
  height: 90rpx;
  line-height: 90rpx;
  background-color: #0095ff;
}